
const routes = [
  {
    path: '/',
    component: () => import('layouts/MainLayout.vue'),
    children: [
      { path: '', redirect: '/data-inquiry' },
      // { path: 'login', meta: { module: 'login', menu: '' }, component: () => import('pages/authority/Login') },
      { path: 'data-inquiry', meta: { module: 'data-inquiry', menu: '' }, component: () => import('pages/Index.vue') },
      { path: 'data-import/enterprise', meta: { module: 'data-import', menu: 'enterprise' }, component: () => import('pages/data-import/enterprise/Index.vue') },
      { path: 'data-import/evaluation', meta: { module: 'data-import', menu: 'evaluation' }, component: () => import('pages/data-import/evaluation/Index.vue') },
      { path: 'data-import/pollution', meta: { module: 'data-import', menu: 'pollution' }, component: () => import('pages/data-import/pollutionpermisson/Index.vue') },
      { path: 'data-import/acceptance', meta: { module: 'data-import', menu: 'acceptance' }, component: () => import('pages/data-import/Acceptance/Index.vue') },
      { path: 'data-import/emergence', meta: { module: 'data-import', menu: 'emergence' }, component: () => import('pages/data-import/emergency/Index.vue') },
      { path: 'data-import/current', meta: { module: 'data-import', menu: 'current' }, component: () => import('pages/data-import/pollutionCurrent/Index.vue') },
      { path: 'data-import/law', meta: { module: 'data-import', menu: 'law' }, component: () => import('pages/data-import/environmentExecuteStatus/Index.vue') },
      { path: 'data-import/produce', meta: { module: 'data-import', menu: 'produce' }, component: () => import('pages/data-import/cleanProduct/Index.vue') },
      { path: 'data-import/supervise', meta: { module: 'data-import', menu: 'supervise' }, component: () => import('pages/data-import/environmentSupervise/Index.vue') },
      { path: 'data-import/dictionary', meta: { module: 'data-import', menu: 'dictionary' }, component: () => import('pages/data-import/catelogueRepository/Index.vue') },
      { path: 'inputtable', meta: { module: 'data-import', menu: 'dictionary' }, component: () => import('components/commonComponent/InputComponent') },
      { path: 'assignment', meta: { module: 'data-import', menu: 'dictionary' }, component: () => import('components/commonComponent/InputList') },
      { path: 'displaytable', meta: { module: 'data-import', menu: 'dictionary' }, component: () => import('src/components/commonComponent/DisplayTable') }
    ]
  },
  // {
  //   path: '/map',
  //   component: () => import('src/components/commonComponent/MapComponent')
  // },
  // Always leave this as last one,
  // but you can also remove it
  {
    path: '/:catchAll(.*)*',
    component: () => import('pages/Error404.vue')
  }
]

export default routes
